package com.qujia.coupon.domain.cancel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther: zxy
 * @Date: 2023/10/17 11:11
 * @Description:
 */
@Data
@ApiModel("优惠券核销Dto")
@NoArgsConstructor
@AllArgsConstructor
public class CancelCouponDto {

//    @ApiModelProperty(value = "用户名")
//    private String userName;

    @ApiModelProperty(value = "核销码")
    @NotEmpty(message = "核销码不能为空")
    private String couponNo;

    /**
     * 油品名称
     */
    @ApiModelProperty(value = "油品id")
    private String oilId;


    /**
     * 油站id
     */
    @ApiModelProperty(value = "油站id", example = "235")
    @NotNull(message = "油站id不能为空")
    private Integer stationId;

    /**
     * 加油员id
     */
    @ApiModelProperty(value = "加油员id", example = "3")
    @NotEmpty(message = "用户id不能为空")
    private String oilPersonnelId;

}
